public class Demo02{
	
	public static void main(String[] args){
		
		
		// byte/short/int/long   float/double  char  boolean
		
		
		
		byte a = 15;
		short b = 20;
		int c = 30;
		
		// 建议加L
		long d = 30;
		
		// 强制加F
		float e = 10.2F;
		
		// 建议加D
		double f = 20.2;
		
		char g = 'a';
		
		boolean h = true;
		
		System.out.println(a);
		System.out.println(b);
		System.out.println(c);
		System.out.println(d);
		System.out.println(e);
		System.out.println(f);
		System.out.println(g);
		System.out.println(h);
	}
	
}